package com.xoa.service.easyReport;

import com.xoa.model.easyReport.RepTable;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;

public interface RepTableService {

    ToJson<RepTable> insertRepTable(RepTable repTable);

    ToJson<RepTable> updateRepTable(RepTable repTable);

    ToJson<RepTable> deleteRepTable(Integer repTableId);

    ToJson<RepTable> findRepTableById(Integer repTableId);

    ToJson<RepTable> findRepTable(HttpServletRequest request , RepTable repTable,String type);

    ToJson<RepTable> cloneRepTable(Integer repTableId,String repTableName);

    ToJson checkTableName(String tableName);
}
